import { Component, OnInit, Provider, Type, Injector, ReflectiveInjector, Inject } from '@angular/core';
import { TranslateService } from 'ng2-translate';
import { BaseComponent } from 'wit-core';
import { B, A, genericInstanceContainerOfGet, C } from './a';
import { ArrayEx } from "./arrat.ex";


@Component({
    selector: 'demo-app',
    templateUrl: './app.component.html',
    styleUrls: ['./app.component.scss']
})
export class AppComponent {
    ins: any = (<any>window);

    constructor(injector: Injector) {
        // genericInstanceContainerOfGet(
        //     injector,
        //     A,
        //     [B, A]);

        // genericInstanceContainerOfGet(
        //     injector,
        //     A,
        //     [B, C]);


        let array = new ArrayEx([1, 2, 3, 4, 5]);
        array.push(6);

        debugger;
    }
}

